import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  redirect: '/cms',
  children: [{
    path: 'cms',
    name: 'cms',
    component: () => import('@/views/cms/index'),
    children: [{
      path: 'dashboard',
      component: () => import('@/views/cms/dashboard/index')
    }, {
      path: 'division',
      component: () => import('@/views/cms/division/index')
    }, {
      path: 'clue',
      component: () => import('@/views/cms/clue/index')
    }, {
      path: 'customer',
      component: () => import('@/views/cms/customer/index')
    }, {
      path: 'contact',
      component: () => import('@/views/cms/contact/index')
    }, {
      path: 'follow-up',
      component: () => import('@/views/cms/follow-up/index')
    }, {
      path: 'sale_item',
      component: () => import('@/views/cms/sale_item/index')
    }, {
      path: 'sale_plan',
      component: () => import('@/views/cms/sale_plan/index')
    }]
  }]
}
